/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mii.dao;

import java.util.List;
import mii.ejb.entity.Customer;

/**
 *
 * @author TEKNISI
 */
public interface CustomerDAO {
    public void insert(Customer customer)throws Exception;
    public void update(Customer customer)throws Exception;
    public void delete(Customer customer)throws Exception;
    public Customer getById(long id)throws Exception;
    public List<Customer> getAll()throws Exception;
    public Customer getByKode(String kodeCust) throws Exception;
    
}
